package Exercise;

import org.w3c.dom.ls.LSOutput;

public class ExerciseWhile {
    public static void main(String[] args) {
        for (int i = 1; i <=11 ; i++) {
            System.out.println("哈哈，哈哈，哈哈哈"+i);
        }
        System.out.println("====================");



        int i =1;//初始化语句
        while(i<=10){   //2.条件判断
            System.out.println("我错啦！"+i);//3.循环体
            i++;//4.步进语句

        }

    }
}
